home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / kermft10.zip / README < prev    next >
Text File  |  1992-10-04  |  4KB  |  104 lines

  1. UPLOAD.SCR
  2. DOWNLOAD.SCR
  3.  
  4. These are two very simple macros to interface ms-kermit with gsz 
  5. or dsz. They have been tested with MS-Kermit 3.11 and gsz.
  6.  
  7.      I'm a recent convert to ms-kermit, and find it superior to 
  8. Procomm Plus and Qmodem (the 2 other communications programs i 
  9. have tried). And, the price is very good. The only problem is the 
  10. lack of popular file transfer protocols (x, y, and zmodem). Kermit 
  11. has it's own protocol. I have seen people who know what they are 
  12. talking about say that the kermit protocol with sliding windows 
  13. and large data packets performs as fast as y or zmodem, but so far 
  14. all the systems i have communicated with have old and brain- 
  15. damaged versions of kermit which don't support these advanced 
  16. features, and perform very slowly. So i needed a way to implement 
  17. zmodem (and if possible x and ymodem as well) as external 
  18. protocols. GSZ fits the need nicely. It is a sharewhare program 
  19. that implements all three, and is available in the usual archives 
  20. and BBSs. DSZ is basically the same thing, without the "graphic" 
  21. interface.
  22.  
  23.      In Procomm Plus, for example, you have access to a menu of 
  24. file transfer protocols at the press of a key. I wanted to be able 
  25. to do the same with ms-kermit, and these macros were born.
  26.  
  27.      I have seen other people do the same thing by escaping out of 
  28. terminal mode (alt-x) and then running a macro. I wanted to be 
  29. able to call the external file transfer protocols without having 
  30. to drop from terminal mode, by just pressing a "hot-key". I found 
  31. out that there are two kermit "verbs" that where left free to be 
  32. associated with any macro. These where intended to allow the user 
  33. to perform some kind of setup on the remote kermit system, but 
  34. they serve my purpose nicely. These verbs are TerminalS and 
  35. TerminalR.
  36.  
  37.      If you copy the lines bellow into your mskermit.ini file, you 
  38. will be able to call external protocols (using GSZ or DSZ) like 
  39. this:
  40.  
  41. Alt-D for download
  42. Alt-U for upload
  43.  
  44. You will be presented with a short menu, where you can make your 
  45. selection:
  46.  
  47. "1" or "z" or "zmodem" for zmodem
  48. "2" or "y" or "ymodem" for ymodem
  49. "3" or "x" or "xmodem" for xmodem
  50.  
  51.  
  52.      Note that you will have to edit the files upload.scr and 
  53. download.scr just a little bit. At the top of both these files you 
  54. will find the line "define progpath c:\kermit\gsz". Edit this so 
  55. that it points to the full pathname of gsz (or dsz) in your 
  56. system.
  57.  
  58.      There is one obstacle i couldn't get around: ms-kermit sends 
  59. a ^S (wait) character before it shells out to dos and calls gsz. 
  60. This apparently makes it impossible to use xmodem and ymodem to 
  61. transfer files to unix systems running sx/rx, sb/rb. Zmodem 
  62. (sz/rz) works just fine (and anyway, you wouldn't want to use 
  63. xmodem or ymodem if the unix system has zmodem available. I have 
  64. tested xmodem and ymodem against a couple of BBSs, and they work 
  65. fine. And there is always the kermit native protocol, as a last 
  66. resource.
  67.  
  68.      If you don't like Alt-D and Alt-U as hotkeys, this is how you 
  69. change them: inside ms-kermit, type "show key" <Enter>, then press 
  70. the key you want to use as hotkey. Kermit will respond with the 
  71. scan code it assigns for that key. Write it down. Substitute it in 
  72. the line where it says "set key \xxxx \KTerminalS" for upload, or
  73. "set key \xxxx \KTerminalR" for download.
  74.  
  75.      The files that compose this package are released into public 
  76. domain, and shall not be sold. You are free to modify and 
  77. redistribute them as you please. Only, if you modify them, include 
  78. a note saying so, or else remove my name from the files.
  79.  
  80.      Support: none. But i'm glad to help if i can and have time. I 
  81. can be reached by email as glauber@david.wheaton.edu, until the 
  82. end of 1992. After that, i don't know. If you like these macros, 
  83. and want to drop me email saying so, please do.
  84.  
  85.  
  86.                                                    Glauber Ribeiro
  87.  
  88.  
  89.  
  90. THE FOLLOWING LINES MUST BE COPIED IN YOUR MSKERMIT.INI FILE:
  91. ------------cut here----------------------------------------------
  92.  
  93. ; These macros are used to call file transfer protocols
  94. ; from terminal mode
  95.  
  96. def TerminalR take download.scr, connect
  97. def TerminalS take upload.scr, connect
  98.  
  99.  
  100. set key \2326 \KTerminalS       ; Alt-U = upload
  101. set key \2336 \KTerminalR       ; Alt-D = download
  102.  
  103. ------------cut here----------------------------------------------
  104.